package com.soon.ws.aspect.controller;

import com.soon.ws.aspect.anno.SysLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Test2Controller {


    @SysLog("测试")
    @GetMapping("/test2")
    public String test(@RequestParam("name") String name){
        return name;
    }

}
